package com.qingdai.business.emuns;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuZiMing
 * @since 2024-01-26
 */
@Data
@AllArgsConstructor
@TableName("address__places")
@Schema(description = "省市区")
public class Places implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @Schema(description = "id")
    private Integer id;

    @TableField("parent_id")
    @Schema(description = "父级id")
    private Integer parentId;

    @TableField("cname")
    @Schema(description = "名词")
    private String cname;

    @TableField("ctype")
    @Schema(description = "级别")
    private Integer ctype;
}
